package com.app.utils.impl.labour;

import com.app.utils.impl.IConsole;
import com.app.utils.impl.Strategy;
import com.zndroid.utils.XUtils;
import com.zndroid.utils.impl.ProcessUtil;

/**
 * Created by lzy on 2022/2/16.
 */
public class ProcessUtilStrategy extends Strategy {
    public ProcessUtilStrategy(IConsole iConsole) {
        super(iConsole);
    }

    @Override
    public void doing() {
        ProcessUtil util = XUtils.create().processUtil();

        iConsole.console("getCurrentProcessName", util.getCurrentProcessName(XUtils.getContext()));
    }
}
